#pragma once
#include <string>

namespace Putin{


/*!
 * \brief
 *  The player (human or AI) controlled baseclass
 */
class Player
{
public:
	Player(std::string name="");
	virtual ~Player(void);

	enum ControlType{
		CLOSED,		/// Used to implement a closed slot while starting the game
		AI,			/// AI controlled player
		NETWORK,	/// a (from this instance view) human or ai player over the network
		HUMAN		/// a human controlling the team through this computer
	};


	ControlType getControlType(){return mControlType;}
	int getId(){return mId;}
	void incKilled(){ mKilled++;}
	void incLost(){mLost++;}
	
	std::string getName(){return mName;}
	void setName(std::string name){mName = name;}



// protected:
	int mId;
	ControlType mControlType;
	std::string mName;
	int mLost;
	int mKilled;
};

}